﻿        <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ReceiptForm.ascx.cs" Inherits="UserControl_Report_Form" %>
        <script type="text/javascript">
            function PrinCongNoToPrinter() {
                GobalPrintNew('gc_DivReceiptContent');
                modal.close();
            }
            function ShowToanBoCongNo() {
                var typeReport = "Receipt";
                var obj = new Object();
                obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
                obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
                obj.Name = 'Testing';

                $.ajax({
                    type: "POST",
                    url: "../zgcReport/CongNoTongHangNhap.ashx",
                    data: { typeReport: typeReport, obj: obj },
                    //data: "{ 'v1': '" + value + "', 'v2': '" + idLopHoc + "' , 't1': '" + t1 + "', 't2': '" + t2 + "'}",
                    //contentType: "application/json; charset=utf-8",
                    //dataType: "json",
                    success: function (msg) {
                        //divinfo.html(msg);
                        var $divall = $("<div></div>");

                        var $div = $("<div class='input'></div>");
                        var $btnActive = $("<input type='button'  value='Phục hồi' id='gc_btnActiveForm' onclick='ActiveCurrentBill()' class='btn btn-info btn-sm' />");

                        var $btnPrint = $("<input type='button'  value='In công nợ' id='gc_btnPrintForm' onclick='PrinCongNoToPrinter()'  class='btn btn-info btn-sm' />");
                        $btnPrint.click(function (ev) {
                            //

                            modal.close();
                        });

                        //$div.append($btnActive);
                        $div.append($("<label>&nbsp;</label>"));
                        $div.append($btnPrint);
                        var $divcontent = $("<div id='gc_DivReceiptContent'></div>");
                        $divcontent.html(msg);

                        $divall.append($div);
                        $divall.append($divcontent);
                        modal.open({ content: $divall.html() });
                    },
                    error: function (xhr, ErrorText, thrownError) {
                        $("#gc_gobal_ListDataID").text("Error" + xhr.status + xhr.responseText);
                    }

                });
            }  
            function PrintNew() {
                var disp_setting = "toolbar=yes,location=yes,directories=yes,menubar=yes,";
                disp_setting += "scrollbars=yes";
                var content_vlue = document.getElementById("gc_gobal_ListDataID").innerHTML;

                var docprint = window.open("", "", 'width=600,height=500');
                docprint.document.open();
                docprint.document.write('<html><head><link href="../Usercontrol/style_home.css" rel="stylesheet" type="text/css" /> ');
                //docprint.document.write('<script language="javascript" type="text/javascript">');
                //docprint.document.write('function Button2_onclick() {var btnIn=window.document.getElementById("btnInPhieu"); btnIn.style.visibility="hidden";  print();}');
                //docprint.document.write('<//script>');
                docprint.document.write('</head><body onLoad="window.print()"><center>');

                docprint.document.write(content_vlue);
                docprint.document.write('</center></body></html>');
			docprint.document.close();
			docprint.focus();

			}
			$(window).load(function () {
			// Dùng để lấy ngày hiện tại
			$("#NgayBatDauIdNew").val(XDate.today().toString("dd/MM/yyyy"));
			$("#NgayKetThucIdNew").val(XDate.today().toString("dd/MM/yyyy"));
			$("#NgayHienTaiId").val(XDate.today().toString("dd/MM/yyyy"));
			// Dùng để lấy ngày hiện tại - END
			});

			$(document).ready(function () {

			    $("#LocHoaDonPhieuThu").click(function (ev) {
			        cur_gb_GridDataIndex = 0;
			        $("#gc_gobal_ListDataID").html('');
			        $("#gc_gobal_ListDataID").show();
			        var t1 = gcDateC($("#NgayBatDauIdNew").val());
			        var t2 = gcDateC($("#NgayKetThucIdNew").val());
			        ShowReceiptAllNgay(0, gb_PageSize, gb_strSort, gb_strFilter, 'false', cur_gb_Account, t1, t2, gc_fn_LayoutListDataReceiptAllDay);
			    });


			    //GhiNotrongngay
			    $("#GhiNoTrongNgay").click(function (ev) {
			        cur_gb_GridDataIndex = 0;
			        $("#gc_gobal_ListDataID").html('');
			        $("#gc_gobal_ListDataID").show();
			        ShowToanBoCongNo();

			    });

			    //In phieu thu theo hang hoa
			    $("#InPhieuThuProduct").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        //                obj.Id = $($p[0]).find('strong').html();
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintPhieuThuTheoHangHoa(typeReport, obj, $divinfo);
			        //---------------------------------------------------------------
			    });

			    //In phieu chi theo hang hoa'')
			    $("#InPhieuChiProduct").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Id = $('#DMChiNhanh_ID').val();
			        obj.Name = 'Testing';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        //                obj.Id = $($p[0]).find('strong').html();
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintPhieuChiTheoHangHoa(typeReport, obj, $divinfo);

			        $('#DMChiNhanh_ID').val('');
			        $('#DMChiNhanh').val('');
			        
			        //---------------------------------------------------------------
			    });

			    //In phieu thu theo 1 hang hoa
			    $("#InPhieuThu1Product").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = '';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        obj.Id = $('#DSMonAn_ID').val();
			        obj.HangHoa = $('#DSMonAn').val();

			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;
			        //--------------------------------------------------------------------
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintPhieuThuTheo1HangHoa(typeReport, obj, $divinfo);
			        $('#DSMonAn').val('');
			        $('#DSMonAn_ID').val('');

			        $('#MaCTSearch').val('');
			        //---------------------------------------------------------------
			    });

			    $("#InTongHangHoa").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = '';
			        obj.Id = $('#DSMonAn_ID').val();
			        obj.HangHoa = $('#DSMonAn').val();

			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;

			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintPhieuThuTheoTongHang(typeReport, obj, $divinfo);
			        $('#DSMonAn').val('');
			        $('#DSMonAn_ID').val('');
			        $('#MaCTSearch').val('');
			        //---------------------------------------------------------------
			    });

			    $("#InReportPhieuThuDiscount").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        //                obj.Id = $($p[0]).find('strong').html();
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintReportPhieuThuDiscount(typeReport, obj, $divinfo);
			        //---------------------------------------------------------------
			    });

			    $("#InPhieuTangKH").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        //                obj.Id = $($p[0]).find('strong').html();
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintReportPhieuTangKH(typeReport, obj, $divinfo);
			        //---------------------------------------------------------------
			    });

			    $("#InTongPhieuThu").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        //                obj.Id = $($p[0]).find('strong').html();
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintTongPhieuThu(typeReport, obj, $divinfo);
			        //---------------------------------------------------------------
			    });

			    $("#InTongPhieuChi").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        //                var $p = $("#item" + cur_gb_cur_ListdDataIndex).find('p');
			        //                obj.Id = $($p[0]).find('strong').html();
			        var $divinfo = $("#gc_gobal_ListDataID");

			        PrintTongPhieuChi(typeReport, obj, $divinfo);
			        //---------------------------------------------------------------
			    });

			    //-------------------------------------------------
			    //InDSTheoKH
			    $("#InDSTheoKH").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        obj.typeReport = typeReport;
			        obj.Id = $('#DMThuTien_ID').val();

			        obj.BranchId = $('#DMChiNhanh_ID').val();
			       
			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;

			        var $divinfo = $("#gc_gobal_ListDataID");

			        modal.open({ content: "<div class='loaderleft'><span style='margin-left:30px;'> Đang tải dữ liệu...<span></div>" });
			        $.ajax({
			            type: "POST",
			            url: "../zgcReport/ReportReceiptTheoNgay_Full_PhanLoai_KH.ashx",
			            data: { typeReport: typeReport, obj: obj },
			            //data: "{ 'v1': '" + value + "', 'v2': '" + idLopHoc + "' , 't1': '" + t1 + "', 't2': '" + t2 + "'}",
			            //contentType: "application/json; charset=utf-8",
			            //dataType: "json",
			            success: function (msg) {
			                //divinfo.html(msg);
			                var $divall = $("<div></div>");
			                var $div = $("<div class='input'></div>");
			                var $btnPrint = $("<input type='button'  value='In báo cáo' id='gc_btnPrintForm' onclick='PrinCongNoToPrinter()'  class='btn btn-info btn-sm' />");
			                $btnPrint.click(function (ev) {
			                    //
			                    modal.close();
			                });
			                modal.close();
			                $div.append($("<label>&nbsp;</label>"));
			                $div.append($btnPrint);
			                var $divcontent = $("<div id='gc_DivReceiptContent'></div>");
			                $divcontent.html(msg);

			                $divall.append($div);
			                $divall.append($divcontent);
			                modal.open({ content: $divall.html() });
			            },
			            error: function (xhr, ErrorText, thrownError) {
			                $("#gc_gobal_ListDataID").text("Error" + xhr.status + xhr.responseText);
			            }

			        });
			        $('#DMThuTien_ID').val('');
			        $('#DMThuTien').val('');
			        $('#MaCTSearch').val('');

			        $('#DMChiNhanh_ID').val('');
			        $('#DMChiNhanh').val('');
			        //---------------------------------------------------------------
			    });

			    //
			    //--------------------------------------------------
			    //InDSBanXe
			    $("#InDSBanXe").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        obj.typeReport = typeReport;
			        obj.Id = $('#DMThuTien_ID').val();
			        obj.BranchId = $('#DMChiNhanh_ID').val();

			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;

			        var $divinfo = $("#gc_gobal_ListDataID");

			        modal.open({ content: "<div class='loaderleft'><span style='margin-left:30px;'> Đang tải dữ liệu...<span></div>" });
			        $.ajax({
			            type: "POST",
			            url: "../zgcReport/ReportReceiptTheoNgay_Full_DSBANXE.ashx",
			            data: { typeReport: typeReport, obj: obj },
			            //data: "{ 'v1': '" + value + "', 'v2': '" + idLopHoc + "' , 't1': '" + t1 + "', 't2': '" + t2 + "'}",
			            //contentType: "application/json; charset=utf-8",
			            //dataType: "json",
			            success: function (msg) {
			                //divinfo.html(msg);
			                var $divall = $("<div></div>");
			                var $div = $("<div class='input'></div>");
			                var $btnPrint = $("<input type='button'  value='In báo cáo' id='gc_btnPrintForm' onclick='PrinCongNoToPrinter()'  class='btn btn-info btn-sm' />");
			                $btnPrint.click(function (ev) {
			                    //
			                    modal.close();
			                });
			                modal.close();
			                $div.append($("<label>&nbsp;</label>"));
			                $div.append($btnPrint);
			                var $divcontent = $("<div id='gc_DivReceiptContent'></div>");
			                $divcontent.html(msg);

			                $divall.append($div);
			                $divall.append($divcontent);
			                modal.open({ content: $divall.html() });
			            },
			            error: function (xhr, ErrorText, thrownError) {
			                $("#gc_gobal_ListDataID").text("Error" + xhr.status + xhr.responseText);
			            }

			        });
			        $('#DMThuTien_ID').val('');
			        $('#DMThuTien').val('');
			        $('#MaCTSearch').val('');
			        $('#DMChiNhanh_ID').val('');
			        $('#DMChiNhanh').val('');
			        //---------------------------------------------------------------
			    });

			    //HachToan

			    //--------------------------------------------------
			    //HachToan
			    $("#HachToan").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        obj.typeReport = typeReport;
			        obj.Id = $('#DMThuTien_ID').val();
			        obj.BranchId = $('#DMChiNhanh_ID').val();

			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;

			        var $divinfo = $("#gc_gobal_ListDataID");

			        modal.open({ content: "<div class='loaderleft'><span style='margin-left:30px;'> Đang tải dữ liệu...<span></div>" });
			        $.ajax({
			            type: "POST",
			            url: "../zgcReport/ReportReceiptTheoNgay_Full_PhanLoai_HACHTOAN.ashx",
			            data: { typeReport: typeReport, obj: obj },
			            //data: "{ 'v1': '" + value + "', 'v2': '" + idLopHoc + "' , 't1': '" + t1 + "', 't2': '" + t2 + "'}",
			            //contentType: "application/json; charset=utf-8",
			            //dataType: "json",
			            success: function (msg) {
			                //divinfo.html(msg);
			                var $divall = $("<div></div>");
			                var $div = $("<div class='input'></div>");
			                var $btnPrint = $("<input type='button'  value='In báo cáo' id='gc_btnPrintForm' onclick='PrinCongNoToPrinter()'  class='btn btn-info btn-sm' />");
			                $btnPrint.click(function (ev) {
			                    //
			                    modal.close();
			                });
			                modal.close();
			                $div.append($("<label>&nbsp;</label>"));
			                $div.append($btnPrint);
			                var $divcontent = $("<div id='gc_DivReceiptContent'></div>");
			                $divcontent.html(msg);

			                $divall.append($div);
			                $divall.append($divcontent);
			                modal.open({ content: $divall.html() });
			            },
			            error: function (xhr, ErrorText, thrownError) {
			                $("#gc_gobal_ListDataID").text("Error" + xhr.status + xhr.responseText);
			            }

			        });
			        $('#DMThuTien_ID').val('');
			        $('#DMThuTien').val('');
			        $('#MaCTSearch').val('');
			        $('#DMChiNhanh_ID').val('');
			        $('#DMChiNhanh').val('');
			        //---------------------------------------------------------------
			    });

			    //--------------------------------------------------
			    //InDSBanXe
			    $("#InDSKhachNo").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        obj.typeReport = typeReport;
			        obj.Id = $('#DMThuTien_ID').val();
			        obj.BranchId = $('#DMChiNhanh_ID').val();

			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;

			        var $divinfo = $("#gc_gobal_ListDataID");

			        modal.open({ content: "<div class='loaderleft'><span style='margin-left:30px;'> Đang tải dữ liệu...<span></div>" });
			        $.ajax({
			            type: "POST",
			            url: "../zgcReport/ReportReceiptTheoNgay_Full_DSBANXE_KHACHNO.ashx",
			            data: { typeReport: typeReport, obj: obj },
			            //data: "{ 'v1': '" + value + "', 'v2': '" + idLopHoc + "' , 't1': '" + t1 + "', 't2': '" + t2 + "'}",
			            //contentType: "application/json; charset=utf-8",
			            //dataType: "json",
			            success: function (msg) {
			                //divinfo.html(msg);
			                var $divall = $("<div></div>");
			                var $div = $("<div class='input'></div>");
			                var $btnPrint = $("<input type='button'  value='In báo cáo' id='gc_btnPrintForm' onclick='PrinCongNoToPrinter()'  class='btn btn-info btn-sm' />");
			                $btnPrint.click(function (ev) {
			                    //
			                    modal.close();
			                });
			                modal.close();
			                $div.append($("<label>&nbsp;</label>"));
			                $div.append($btnPrint);
			                var $divcontent = $("<div id='gc_DivReceiptContent'></div>");
			                $divcontent.html(msg);

			                $divall.append($div);
			                $divall.append($divcontent);
			                modal.open({ content: $divall.html() });
			            },
			            error: function (xhr, ErrorText, thrownError) {
			                $("#gc_gobal_ListDataID").text("Error" + xhr.status + xhr.responseText);
			            }

			        });
			        $('#DMThuTien_ID').val('');
			        $('#DMThuTien').val('');
			        $('#MaCTSearch').val('');
			        $('#DMChiNhanh_ID').val('');
			        $('#DMChiNhanh').val('');
			        //---------------------------------------------------------------
			    });

			    //--------------------------------------------------
			    //InDoanhSoTrongNgay
			    $("#InDoanhSoTrongNgay").click(function (ev) {
			        var typeReport = "Receipt";
			        var obj = new Object();
			        obj.t1 = gcDateC($("#NgayBatDauIdNew").val());
			        obj.t2 = gcDateC($("#NgayKetThucIdNew").val());
			        obj.Name = 'Testing';
			        obj.typeReport = typeReport;
			        obj.Id = $('#DMThuTien_ID').val();
			        obj.BranchId = $('#DMChiNhanh_ID').val();

			        var MaCTSearch = $('#MaCTSearch').val();
			        if (MaCTSearch != '')
			            obj.Name = MaCTSearch;

			        var $divinfo = $("#gc_gobal_ListDataID");

			        modal.open({ content: "<div class='loaderleft'><span style='margin-left:30px;'> Đang tải dữ liệu...<span></div>" });
			        $.ajax({
			            type: "POST",
			            url: "../zgcReport/ReportReceiptTheoNgay_Full_PhanLoai.ashx",
			            data: { typeReport: typeReport, obj: obj },
			            //data: "{ 'v1': '" + value + "', 'v2': '" + idLopHoc + "' , 't1': '" + t1 + "', 't2': '" + t2 + "'}",
			            //contentType: "application/json; charset=utf-8",
			            //dataType: "json",
			            success: function (msg) {
			                //divinfo.html(msg);
			                var $divall = $("<div></div>");
			                var $div = $("<div class='input'></div>");
			                var $btnPrint = $("<input type='button'  value='In báo cáo' id='gc_btnPrintForm' onclick='PrinCongNoToPrinter()'  class='btn btn-info btn-sm' />");
			                $btnPrint.click(function (ev) {
			                    //
			                    modal.close();
			                });
			                modal.close();
			                $div.append($("<label>&nbsp;</label>"));
			                $div.append($btnPrint);
			                var $divcontent = $("<div id='gc_DivReceiptContent'></div>");
			                $divcontent.html(msg);

			                $divall.append($div);
			                $divall.append($divcontent);
			                modal.open({ content: $divall.html() });
			            },
			            error: function (xhr, ErrorText, thrownError) {
			                $("#gc_gobal_ListDataID").text("Error" + xhr.status + xhr.responseText);
			            }

			        });
			        $('#DMThuTien_ID').val('');
			        $('#DMThuTien').val('');
			        $('#MaCTSearch').val('');
			        $('#DMChiNhanh_ID').val('');
			        $('#DMChiNhanh').val('');
			        //---------------------------------------------------------------
			    });

			});

		</script>

        <!-- gc Report Information : first time is disable-->
        <div class="content" id="FilterReceiptDay">
            <div id='Div2' class="gc_SearchForm" >
	           <div class="login_sign" id="Div3">
                    <div class="input">
                         <label>Từ Ngày</label>
                        <input type="text"  autocomplete="off"  id="NgayBatDauIdNew" name='datepicker' />

                         <label>Tới ngày</label>
                        <input type="text"  autocomplete="off"  id="NgayKetThucIdNew" name='datepicker' />
                        
                        <label>Nhập vào Mã CT</label>
                        <input type="text"  autocomplete="off"  id="MaCTSearch" />                    
                                                
                    </div>
                    <div class="input">
                        <label >Chọn hàng hóa:</label>
                        <input type="text"  autocomplete="off"  value="Chọn danh sách..." id="DSMonAn" name="combo" class="brwidthinput400 input-large"  />
                        <input type="text" id="DSMonAn_ID" style='display:none;'  />

                         <label >Chọn DM thu:</label>
                        <input type="text"  autocomplete="off"  value="Chọn danh sách..." id="DMThuTien" name="combo" class="brwidthinput300 input-large"  />
                        <input type="text" id="DMThuTien_ID" style='display:none;'  />
                    </div>

                    <div class="input">
                        <label >Chọn chi nhánh:</label>
                        <input type="text"  autocomplete="off"  value="Chọn danh sách..." id="DMChiNhanh" name="combo" class="brwidthinput400 input-large"  />
                        <input type="text" id="DMChiNhanh_ID" style='display:none;'  />

                        
                    </div>

                    <div class="inputBtnBottomV2" style=" border-top: none;">
                        <input type="button"  value="Tìm phiếu thu" id="LocHoaDonPhieuThu"  class="btn btn-primary btn-sm" />
                        <input type="button"  value="Tìm phiếu chi" id="LocHoaDonPhieuChi"  class="btn btn-primary btn-sm" />
                        <input type="button"  value="Công nợ" id="GhiNoTrongNgay"  class="btn btn-danger btn-sm" />
                        <input type="button"  value="In phiếu thu theo hàng hóa" id="InPhieuThuProduct"  class="btn btn-info btn-sm" />
                        <input type="button"  value="In phiếu chi theo vụ việc" id="InPhieuChiProduct"  class="btn btn-success btn-sm" />
                        <input type="button"  value="In phiếu thu theo 1 hàng hóa" id="InPhieuThu1Product"  class="btn btn-info btn-sm" />
                        <input type="button"  value="In tổng hàng" id="InTongHangHoa"  class="btn btn-info btn-sm" />
                    </div>
                    <div class="inputBtnBottomV2" style=" border-top: none;">
                        <input type="button"  value="In thông tin khuyến mãi cho KH" id="InReportPhieuThuDiscount"  class="btn btn-success btn-sm" />
                        <input type="button"  value="In phiếu tặng hàng hóa KH" id="InPhieuTangKH"  class="btn btn-success btn-sm" />
                        <input type="button"  value="In tổng phiếu thu" id="InTongPhieuThu"  class="btn btn-success btn-sm" />
                        <input type="button"  value="In tổng phiếu chi" id="InTongPhieuChi"  class="btn btn-success btn-sm" />
                          <input type="button"  value="In doanh số trong ngày" id="InDoanhSoTrongNgay"  class="btn btn-warning btn-sm" />
                         <input type="button"  value="In doanh số theo KH" id="InDSTheoKH"  class="btn btn-warning btn-sm" />
                    </div>

                     <div class="inputBtnBottomV2" style=" border-top: none;">
                        
                          <input type="button"  value="In doanh số bán hàng" id="InDSBanXe"  class="btn btn-warning btn-sm" />
                         <input type="button"  value="In doanh sách khách nợ" id="InDSKhachNo"  class="btn btn-warning btn-sm" />

                        <input type="button"  value="Hạch toán" id="HachToan"  class="btn btn-warning btn-sm" />                    </div>
                </div>
               
            </div>
        </div>
        <!-- End gc Report Information -->